package serveur;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.List;

import serveur.ClientDistant;

public interface ServiceClientConnecteRemote extends Remote {
	public void tweeter(String topic, String message, ClientDistant client) throws RemoteException;
	public void tweeter(Tweet t, ClientDistant client) throws RemoteException;
	public void follow(String pseudo, ClientDistant client) throws RemoteException;
	public void seDeconnecter(ClientDistant c) throws RemoteException;
	public List<Tweet> afficherTweetUtilisateursFollowed(ClientDistant c) throws RemoteException;
	//public void relayerTweet(); 
	
}
